﻿@using YiMeiJiaLibModel.Config

<header id="appHeader">
    <!--标题-->
    <div class="title-box">
        <a href="javascript:;" onclick="returnUri()" class="title-left">
           &nbsp;
            </a>
        <a class="title-center" href="javascript:;">@MyPartialText</a>
        <a id="menubtn" href="/Home/Index" class="title-right">
          @*   <i class="iconfont" style="font-size:30px;">&#xe606;</i> *@
            @{
                var imgSrc = $"{ApiConf.ApiStatic()}/Images/home.png";
                if (!string.IsNullOrEmpty(Icon))
                {
                    imgSrc = $"{ApiConf.ApiStatic()}{Icon}"; ;
                }
            }
            <img src="@imgSrc" id="appHeaderHomeImg" class="header-img" />
        </a>
    </div>
</header>

<script>
    var returnUri = function (){
        window.history.back();
    }
</script>
@code {
}